package base.thread;

class runner implements Runnable{
	public void run(){
		for(int i=0;i<100;i++){
			System.out.println("thread1 come on:"+i);
		}
	}
}

public class TestThread1 {
	public static void main(String[] args) {
		runner r1 = new runner();
		Thread t1 = new Thread(r1);
		t1.start();
	
		for(int i=0;i<100;i++){
			System.out.println("thread2 come on:"+i);
		}
	}
}
